package books.borrowing.dao;

import books.borrowing.entity.SubscriberEntity;

public interface ISubscriberDao {

	public void save(SubscriberEntity _subscriber);

	public void update(SubscriberEntity _subscriber);

	public void delete(SubscriberEntity _subscriber);

	// public List<SubscriberEntity> allSubscribers();

	public SubscriberEntity connect(String _login, String _password)
			throws Exception;

	public SubscriberEntity findSubscriberByLogin(String _login)
			throws Exception;
}
